home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / CDROM / CDIDs / InstallCDIDs < prev    next >
Encoding:
Text File  |  1997-07-08  |  1.3 KB  |  42 lines

  1. ; $VER: CDID Installer 1.0 (8.4797) Neil Bothwick
  2. ;
  3. ; This installer was written specifically for installing
  4. ; CDID files from the CU amiga cover CDs
  5.  
  6. ;;; Set paramemters and defaults
  7. (set
  8.     IDarchive       'Disks/disks.lha'
  9.     UnarcCmd        'C/lha -I -a -t x'
  10.     WelcomeMsg      (cat
  11.                         'CU Amiga CD ID collection\n\nThis collection has now grown to over 4000 '
  12.                         'files, and CD filesystems do not like directories with that many files. '
  13.                         'So they are now combined into a single archive.'
  14.                         '\n\nThe installer will ask where you want the ID files installed, and will '
  15.                         'only install IDs that you do not currently have. Nothing will be overwritten.'
  16.                     )
  17.     DirMsg          '\nPlease select the directory where you store your CDIDs. This is usually called Disks'
  18.     DirHelp         '\nSelect the actual Disks directory, not its parent directory.'
  19. )
  20. ;;;
  21.  
  22. (message WelcomeMsg)
  23. (welcome)
  24. (set DestDir
  25.     (askdir
  26.         (prompt DirMsg)
  27.         (Help DirHelp)
  28.         (default '')
  29.         (disk)
  30.     )
  31. )
  32.  
  33. (message (cat UnarcCmd ' ' IDarchive ' ' (tackon DestDir '')))
  34. (working '\nUnarchiving CDID files')
  35. (run (cat UnarcCmd ' ' IDarchive ' ' (tackon DestDir '')))
  36.  
  37. (set @default-dest DestDir)
  38. (exit)
  39.  
  40.  
  41.  
  42.